<?php
namespace Common\Models;
use Common\BaseModel;
class ArticleCategory extends BaseModel
{
	public $res;
	public $expire;
	public function getSource()
		    {
				return "f_article_categories";
    }
	public function initialize()
	{
		 parent::initialize();
		$this->res['res']=false;
		 $this->expire=60*60*20;
	}

    public function getList($param){
        $condetion='published=1';
        $list = $this::find(array(
            $condetion
        ));
        return $list;
    }

}
